package io.gitee.yth.design.pattern.test.core.pattern.structural.facade.code.subsystem;

/**
 * @author yth
 * @since 2023-04-27-0:07
 */
public class Popcorn {

    private static final Popcorn instance = new Popcorn();

    public static Popcorn getInstance() {
        return instance;
    }

    private Popcorn() {
    }

    public void on() {
        System.out.println("Popcorn::on()");
    }

    public void off() {
        System.out.println("Popcorn::off()");
    }

    public void run() {
        System.out.println("Popcorn::run()");
    }

}
